// 引入封装的axios
// 文件上传的方式及路径
import axios from '@/utils/myaxios.js'
export const uploadFile = function(data){
  return axios ({
    method:'post',
    url:'/upload',
    data
  })
}